package com.yushu.authority.pojo.vo;

import com.yushu.authority.pojo.bo.PmRole;
import com.yushu.authority.pojo.bo.PmUser;
import com.yushu.common.configuration.spring.SpringMVCCustomJsonDateDeserializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * 
 * @author test
 * @CreateDate 2020-12-03 15:47:24
 */
@Data
public class PmUserVO  extends PmUser implements Serializable {
	private static final long serialVersionUID = 1L;
	//列开始
	@Getter
    @Setter				
	@JsonDeserialize(using = SpringMVCCustomJsonDateDeserializer.class)
	private Date createTimeBefore;//创建日期之前
	@Getter
    @Setter		
	@JsonDeserialize(using = SpringMVCCustomJsonDateDeserializer.class)
	private Date createTimeAfter;//创建日期之后
	@Getter
    @Setter				
	@JsonDeserialize(using = SpringMVCCustomJsonDateDeserializer.class)
	private Date updateTimeBefore;//修改日期之前
	@Getter
    @Setter		
	@JsonDeserialize(using = SpringMVCCustomJsonDateDeserializer.class)
	private Date updateTimeAfter;//修改日期之后
	@Getter
    @Setter				
	@JsonDeserialize(using = SpringMVCCustomJsonDateDeserializer.class)
	private Date birthdayBefore;//出生日期之前
	@Getter
    @Setter		
	@JsonDeserialize(using = SpringMVCCustomJsonDateDeserializer.class)
	private Date birthdayAfter;//出生日期之后


	@Getter
	@Setter
	private String captcha;//图形验证码
	@Getter
	@Setter
	private String rpassword;//图形验证码
	@Getter
	@Setter
	private String addr;//图形验证码
	@Getter
	@Setter
	private List<PmRole> roles;
	
	@Getter
	@Setter
	private String oldPassword; //旧密码

	@Getter
	@Setter
	private String newPassword;//新密码

	@Getter
	@Setter
	private String confirmPassword;//确认过后的新密码
	
	
	@Getter
	@Setter
	private String code;  //邮箱验证码
	
	@Getter
	@Setter
	private String userEmail;
	
}
